#pragma once

#include <vector>

using namespace std;

class  CFileUtility
{
public:
	CFileUtility(void);
	~CFileUtility(void);
	static bool GetDirAllFiles( CString sPath, vector<CString>& vFiles );
	static bool GetFileInDir(CString sDir,CString sFileName,CString &sRetFilePath,bool bSameName = false);

	static int CALLBACK BrowseCallbackProc(HWND hwnd, UINT uMsg, LPARAM lParam, LPARAM lpData);
	static bool ShowSelectedDirDlg(CWnd* pParentWnd,CString sDefalutDir ,CString sTitle ,CString &sRetDir);

	static bool CreateDir(CString sFileDir);
};

